package com.shop.cereshop.agent.service.user.Impl;

import com.shop.cereshop.agent.dao.user.CereAgentPrivateDAO;
import com.shop.cereshop.agent.service.user.CereAgentPrivateService;
import com.shop.cereshop.commons.domain.agent.CereAgentPrivate;
import com.shop.cereshop.commons.domain.agent.CereAgentUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CereAgentPrivateServiceImpl implements CereAgentPrivateService {
    @Autowired
    private CereAgentPrivateDAO cereAgentPrivateDAO;

    @Override
    public CereAgentPrivate selectCereAgentRoleByInviteCode(String inviteCode) {
        return cereAgentPrivateDAO.selectCereAgentRoleByInviteCode(inviteCode);
    }
}
